#include<stdio.h>
int main()
{
	for (int i = 1; i < 10; i++)
	{
		int ji = 0;
		for (int j = 1; j <= i; j++)
		{
			ji = i * j;
			printf("%d * %d = %d", i, j, ji);
			printf(" ");
		}
		printf("\n");
	}


	return 0;
}